#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QtGui/QDialog>
#include <QMessageBox>

namespace Ui {
    class loginDialog;
}

class loginDialog : public QDialog {
    Q_OBJECT
public:
    loginDialog(QWidget *parent = 0);
    ~loginDialog();

    QString getLogin() const;
    QString getPassword() const;
    void setLogin( const QString& login = QString::null );

protected:
    void changeEvent(QEvent *e);

private:
    Ui::loginDialog *m_ui;

private slots:
    void on_okButton_clicked();
    void on_cancelButton_clicked();
};

#endif // LOGINDIALOG_H
